package di.ass.view;

import di.ass.R;
import android.content.Context;
import android.view.LayoutInflater;
import android.widget.CheckBox;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

public class ElementListFormula extends LinearLayout {
	private CheckBox check_formula;
	private TextView formula_content;
	private TextView date_formula;
	private TextView status;
	private ImageButton imageView;
	private ImageButton imageEdit;
	private ImageView imageCheck;
	private LinearLayout linearLayout;

	public ElementListFormula(Context context) {
		super(context);
		// TODO Auto-generated constructor stub
		// Gan giao dien ElementWork vao trong lop nay
		LayoutInflater inflater = (LayoutInflater) this.getContext()
				.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		inflater.inflate(R.layout.element_list_formula, this, true);
		setCheck_formula((CheckBox) findViewById(R.id.check_formula));
		setFormula_content((TextView) findViewById(R.id.formula_content));
		setDate_formula((TextView) findViewById(R.id.date_content));
		setImageCheck((ImageView) findViewById(R.id.ivcheck));
		setLinearLayout((LinearLayout) findViewById(R.id.layoutEListFormula));
		setStatus((TextView) findViewById(R.id.status));
	}

	public CheckBox getCheck_formula() {
		return check_formula;
	}

	public void setCheck_formula(CheckBox check_formula) {
		this.check_formula = check_formula;
	}

	public TextView getFormula_content() {
		return formula_content;
	}

	public void setFormula_content(TextView formula_content) {
		this.formula_content = formula_content;
	}

	public TextView getDate_formula() {
		return date_formula;
	}

	public void setDate_formula(TextView date_formula) {
		this.date_formula = date_formula;
	}

	public ImageButton getImageView() {
		return imageView;
	}

	public void setImageView(ImageButton imageView) {
		this.imageView = imageView;
	}

	public ImageButton getImageEdit() {
		return imageEdit;
	}

	public void setImageEdit(ImageButton imageEdit) {
		this.imageEdit = imageEdit;
	}

	public ImageView getImageCheck() {
		return imageCheck;
	}

	public void setImageCheck(ImageView imageCheck) {
		this.imageCheck = imageCheck;
	}

	public LinearLayout getLinearLayout() {
		return linearLayout;
	}

	public void setLinearLayout(LinearLayout linearLayout) {
		this.linearLayout = linearLayout;
	}

	public TextView getStatus() {
		return status;
	}

	public void setStatus(TextView status) {
		this.status = status;
	}
}
